package com.itstyle.quartz;

import org.quartz.SchedulerException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@SpringBootApplication
@EnableSwagger2
public class SpringBootTaskApplication {
	private static final Logger logger = LoggerFactory.getLogger(SpringBootTaskApplication.class);
	public static void main(String[] args) throws InterruptedException, SchedulerException {
		SpringApplication.run(SpringBootTaskApplication.class, args);
		logger.info("项目启动 ");
	}
}